//
//  TSMsgStatisticsViewController.m
//  chart
//
//  Created by xu on 15/8/15.
//  Copyright (c) 2015年 xu. All rights reserved.
//

#import "TSMsgStatisticsViewController.h"
#import "TSMsgStatisticsTableView.h"

#define STATISTICS_BOTTOM_HEIGHT 100.f

@interface TSMsgStatisticsViewController ()

@end

@implementation TSMsgStatisticsViewController{
    TSMsgStatisticsTableView *tableView;
}

@synthesize msgId;

- (void)viewDidLoad {
    [super viewDidLoad];
    
    tableView = [[TSMsgStatisticsTableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
    tableView.msgId = msgId;
    tableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
    [self.view addSubview:tableView];
    
    [tableView.header beginRefreshing];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

- (void)dealloc
{
    
}

@end
